package com.vincce.sport.mapper;

import java.util.List;
import java.util.Map;

import com.vincce.sport.core.MyBatisRepository;
import com.vincce.sport.entity.Page;
import com.vincce.sport.entity.Player;
import com.vincce.sport.entity.PlayerApi;
import com.vincce.sport.entity.PlayerCreateImg;
import com.vincce.sport.entity.PlayerDataApi;
import com.vincce.sport.entity.PlayerDate;

@MyBatisRepository
public interface PlayerDateMapper {
	public List<PlayerDate> queryPlayerDateByPage(Page<PlayerDate> page);
	public Long queryPalyerByCount(Map<String, Object> map);
	public Long insertPalyerDate(PlayerDate playerDate);
	public Long updatePalyerDate(PlayerDate playerDate);
	public Integer deleteById(Integer id);
	public List<PlayerDate> queryPalyerByAll();
	
	public List<PlayerDate> queryPalyerDateSeason(Map<String, Object> map);
	public PlayerDate querySeasonName(Map<String, Object> map);
	
	public List<PlayerDate> queryPlayerDateByContest(Map<String, Object> param);
	public List<PlayerDate> queryPlayerDateByMachId(Map<String, Object> param);//查询出球员名称 号码
	public List<Player> queryPlayerDataById(Map<String, Object> map);
	
	/**
	 * 查询球员赛次数据
	 * @param param
	 * @return
	 */
	public PlayerDate queryPlayerDateByPlayerId(Map<String, Object> param);
	
	public List<PlayerDataApi> queryPalyerDateApi(Map<String, Object> map);
	
	public List<PlayerApi> queryPlayerApi(Map<String, Object> map);
	
	public List<PlayerApi> queryPlayerByTeamApi(Map<String, Object> map);
	public List<PlayerApi> queryPlayerByStatuApi(Map<String, Object> map);
	public List<PlayerCreateImg> queryPlayerCreateImg(Map<String, Object> map);

}
